package impl.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;

/**
 * @author futao
 * Created on 2018/2/5 - 16:36.
 */
@Controller
public class Index {
    @RequestMapping("/index")
    public ModelAndView index() {
        ModelAndView modelAndView = new ModelAndView();
        modelAndView.setViewName("WEB-INF/content/welcome.jsp");
        return modelAndView;
    }
}
